package com.bjsxt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by 苏犇 on 2018/12/23. <br>
 */
@Controller
@RequestMapping("error")
public class ErrorController {

    @GetMapping("error404")
    public String error404() {
        return "errorPage/404";
    }

    @GetMapping("error405")
    public String error405() {
        return "errorPage/405";
    }

    @GetMapping("error400")
    public String error400() {
        return "errorPage/400";
    }

    @GetMapping("error500")
    public String error500() {
        return "errorPage/500";
    }

}
